﻿using Newtonsoft.Json;

namespace ManagementApi.TreeParty.SMS.LianXinTong;

/// <summary>
/// 下行短信接口请求参数
/// </summary>
public class SUBMIT_REQ
{
    /// <summary>
    /// 用户名，系统分配，不可为空
    /// </summary>
    [JsonProperty("spId")]
    public string SpId { get; set; }
    /// <summary>
    /// 密码,系统分配，不可为空
    /// </summary>
    [JsonProperty("authCode")]
    public string AuthCode { get; set; }
    /// <summary>
    /// 短信内容
    /// </summary>
    [JsonProperty("content")]
    public string Content { get; set; }
    /// <summary>
    /// 手机号码，可支持一次10个，不可为空
    /// </summary>
    [JsonProperty("mobiles")]
    public string[] Mobiles { get; set; }
    /// <summary>
    /// 消息流水号，最长10位，不可为空
    /// </summary>
    [JsonProperty("reqId")]
    public string ReqId { get; set; }
    /// <summary>
    /// 业务代码，最长10位，默认为空
    /// </summary>
    [JsonProperty("serviceId")]
    public string? ServiceId { get; set; }
    /// <summary>
    /// 扩展码，最长20位，默认为空
    /// </summary>
    [JsonProperty("srcId")]
    public string? SrcId { get; set; }
}
